Ext.define('Admin.store.NavigationNormalTree', {
    extend: 'Ext.data.TreeStore',

    storeId: 'NavigationNormalTree',

    fields: [{
        name: 'text'
    }],

    root: {
        expanded: true,
        children: [{
            text: '首页',
            iconCls: 'x-fa fa-desktop',
            viewType: 'dashboard',
            routeId: 'dashboard',
            leaf: true
        },
        {
            text: '用户',
            iconCls: 'x-fa fa-user',
            expanded: false,
            selectable: false,
            children: [{
                text: '用户信息',
                iconCls: 'x-fa fa-vcard-o',
                viewType: 'user-info',
                leaf: true
            }, {
                text: '用户管理',
                iconCls: 'x-fa fa-users',
                viewType: 'user-manager',
                leaf: true
            }]
        },
        {
            text: '组织结构',
            iconCls: 'x-fa fa-home',
            viewType: 'organization-tree',
            routeId: 'organization-tree',
            leaf: true
        },
        {
            text: '加班流程模块',
            iconCls: 'x-fa fa-clock-o',
            expanded: false,
            selectable: false,
            children: [{
                text: '我的加班',
                viewType: 'overtime',
                iconCls: 'x-fa fa-user',
                leaf: true
            }]
        },{
            text: '请假流程模块',
            iconCls: 'x-fa fa-align-justify',
            expanded: false,
            selectable: false,
            children: [{
                    text: '我的请假',
                    iconCls: 'x-fa fa-arrow-circle-o-up',
                    viewType: 'leave',
                    leaf: true
            }]
        },
        {
            text: '外出流程',
            iconCls: 'x-fa fa-automobile ',
            expanded: false,
            selectable: false,
            children: [{
                text: '外出申请',
                iconCls: 'x-fa fa-arrow-circle-up',
                viewType: 'goout',
                leaf: true
            }, {
                text: '外出申请查询',
                iconCls: 'x-fa fa-list-alt',
                viewType: 'gooutQuery',
                leaf: true
            }]
        },
        {
            text: '订餐流程模块',
            iconCls: 'x-fa fa-coffee',
            expanded: false,
            selectable: false,
            children: [{
                text: '订餐申请',
                iconCls: 'x-fa fa-file-text',
                viewType: 'orderModelPanel',
                leaf: true
            },{
                text: '订餐审批',
                iconCls: 'x-fa fa-list-alt',
                viewType: 'orderApproveModelPanel',
                leaf: true
            },{
                text: '订餐报表管理',
                iconCls: 'x-fa fa-gears',
                viewType: 'orderManageModelPanel',
                leaf: true
            }]
        },
        {
            text: 'Pages',
            expanded: false,
            selectable: false,
            visible: false,
            children: [{
                text: 'Login',
                viewType: 'login',
                leaf: true
            }, {
                text: 'Register',
                viewType: 'register',
                leaf: true
            }, {
                text: 'PasswordReset',
                viewType: 'passwordreset',
                leaf: true
            }]
        }
        ]
    }

});
